package com.qf.commerce.service;

import com.github.pagehelper.PageInfo;
import com.qf.commerce.common.dto.OrganizationDto;
import com.qf.commerce.common.vo.OrganizationVo;
import com.qf.commerce.entity.Organization;

import java.util.List;

public interface OrganizationService {
    int insertOrganization( OrganizationDto organizationDto);
    int deleteOrganization(List<Long> ids);
    int del(int status,Long organizationId);
    int updateOrganization(Organization organization, Long organizationId);


    Organization selectOrganizationDetail(Long organizationId);

    PageInfo<OrganizationVo> selectOrganization(Integer status,String organizationName,String userName,Integer page, Integer size);
    PageInfo<OrganizationVo> selectOrganizationByTime(String startCreateTime,String endCreateTime,Integer page, Integer size);


}
